package com.yyge.entity;

import java.io.Serializable;
import java.util.Objects;

/**
 * (GoodsPhoto)实体类
 *
 * @author yyge
 * @since 2023-05-07 13:52:01
 */
public class GoodsPhoto {
    /**
     * 主键。自增长
     */
    private Integer id;
    private Integer goodsId;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 商品id
     */

    private GoodsInfo goods;

    public GoodsInfo getGoods() {
        return goods;
    }

    public void setGoods(GoodsInfo goods) {
        this.goods = goods;
    }

    /**
     * 图片url
     */
    private String goodsImg;
    /**
     * 预留字段
     */
    private String value1;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }




    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getValue1() {
        return value1;
    }

    public void setValue1(String value1) {
        this.value1 = value1;
    }



    @Override
    public String toString() {
        return "GoodsPhoto{" +
                "id=" + id +
                ", goodsId=" + goods +
                ", goodsImg='" + goodsImg + '\'' +
                ", value1='" + value1 + '\'' +
                '}';
    }
}

